﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectSchedule.Entity
{
    public class CTSchedule
    {
        public IList<CTAdjustment> Adjustments { get; set; }
        public IList<CTProcessUnit> ProcessUnits { get; set; }
        public IList<CTSectionTime> SectionTimes { get; set; }
        public IList<MediumMergeRelate> MediumMergeARelates { get; set; }
        public IList<MediumMergeRelate> MediumMergeBRelates { get; set; }
    }

    public class MediumMergeRelate
    {
        public string ShipName { get; set; }
        public string MediumMergeName { get; set; }

        public string[] SectionNames
        {
            get
            {
               return MediumMergeName.Split('+');
            }
        }
    }
}
